﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="Matchingo.Modules.TitleScreenModule.RotatingMenuButton"
	d:DesignWidth="26" d:DesignHeight="26" xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows">

	<Grid x:Name="LayoutRoot">
		<vsm:VisualStateManager.VisualStateGroups>
			<vsm:VisualStateGroup x:Name="ArrowDirectionStates">
				<vsm:VisualStateGroup.Transitions>
					<vsm:VisualTransition GeneratedDuration="00:00:00.2000000"/>
				</vsm:VisualStateGroup.Transitions>
				<vsm:VisualState x:Name="Up">
					<Storyboard>
						<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
							<SplineDoubleKeyFrame KeyTime="00:00:00" Value="135"/>
						</DoubleAnimationUsingKeyFrames>
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="Left">
					<Storyboard>
						<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
							<SplineDoubleKeyFrame KeyTime="00:00:00" Value="43"/>
						</DoubleAnimationUsingKeyFrames>
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="Down">
					<Storyboard>
						<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
							<SplineDoubleKeyFrame KeyTime="00:00:00" Value="-46"/>
						</DoubleAnimationUsingKeyFrames>
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="Right"/>
			</vsm:VisualStateGroup>
			<vsm:VisualStateGroup x:Name="MouseStates">
				<vsm:VisualState x:Name="MouseOver">
					<Storyboard/>
				</vsm:VisualState>
				<vsm:VisualState x:Name="MouseDown">
					<Storyboard/>
				</vsm:VisualState>
				<vsm:VisualState x:Name="MouseOut"/>
			</vsm:VisualStateGroup>
		</vsm:VisualStateManager.VisualStateGroups>
		<Ellipse StrokeThickness="2" x:Name="ellipse">
			<Ellipse.Fill>
				<RadialGradientBrush>
					<GradientStop Color="#FF181818" Offset="0.625"/>
					<GradientStop Color="#FF000000" Offset="0.665"/>
					<GradientStop Color="#FF161616" Offset="1"/>
					<GradientStop Color="#FF9D9D9D" Offset="0.906"/>
					<GradientStop Color="#FF767676" Offset="0"/>
					<GradientStop Color="#FF181818" Offset="0.777"/>
				</RadialGradientBrush>
			</Ellipse.Fill>
		</Ellipse>
		<Path Stroke="#44FFFFFF" Fill="#FFFFFFFF" Margin="7.4,10.652,7.6,4.348" x:Name="path" RenderTransformOrigin="0.354,0.657" Stretch="Fill" StrokeThickness="1" Data="M1,1 L13,13 L1,13 z">
			<Path.RenderTransform>
				<TransformGroup>
					<ScaleTransform/>
					<SkewTransform/>
					<RotateTransform Angle="225"/>
					<TranslateTransform X="1.936" Y="-5.197"/>
				</TransformGroup>
			</Path.RenderTransform>
		</Path>
	</Grid>
</UserControl>